<td id="mainarea">
<div id="nav">
当前位置: <a href="?action=default">管理首页</a> <span>&gt;</span> <a href="?action=recommendlist">推荐位置管理</a> <span>&gt;</span> 修改推荐内容
</div>
<div class="block">
<script language="javascript" src="./include/js/validate.js"></script>
<form name="form1" action="?action=recommend&op=editsave" method="post" enctype='multipart/form-data' onSubmit="return Validator.Validate(this,3)">
<input name="id" type="hidden" value="<?=$recommend['id']?>" />
  <table width="100%" border="0" align="center">
    <tr>
      <td colspan="2"><strong>编辑推荐</strong></td>
    </tr>
    <tr>
      <td width="45">标题</td>
      <td><input type="text" name="subject" value="<?=$recommend['subject']?>" size="60" dataType="Require" msg="不能为空" /></td>
    </tr>
	<tr>
	  <td>简介</td>
	  <td><textarea name="summary" cols="80" rows="8"><?=$recommend['summary']?></textarea></td>
	</tr>
	<tr>
	  <td>链接地址</td>
	  <td><input name="url" type="text" value="<?=$recommend['url']?>" size="60" dataType="Require" msg="不能为空" /></td>
	</tr>
	<tr>
	  <td>图片地址</td>
	  <td><? if ($recommend['img']){?><img src="attachments<?=$recommend['img']?>" /><br /><? }?><input name="img_old" type="hidden" value="attachments<?=$recommend['img']?>" /><input type="file" name="uploadimg"/></td>
	</tr>
    <tr>
      <td colspan="2"><button value="true" type="submit" class="submit" name="Submitted" title="更新">更新</button></td>
    </tr>
  </table>
</form>
</div>